import { IPSAppDEUILogicParam } from '../../app/dataentity/ipsapp-deuilogic-param';
import { IPSDEUILogicParam } from './ipsdeuilogic-param';
import { PSModelObjectImpl } from '../../psmodel-object-impl';

export class PSDEUILogicParamImpl extends PSModelObjectImpl implements IPSDEUILogicParam, IPSAppDEUILogicParam {
  get codeName(): string {
    return this.M.codeName;
  }

  get defaultValue(): string {
    return this.M.defaultValue;
  }

  get defaultValueType(): string {
    return this.M.defaultValueType;
  }

  get dynaModelFilePath(): string {
    return this.M.dynaModelFilePath;
  }

  get logicName(): string {
    return this.M.logicName;
  }

  get memo(): string {
    return this.M.memo;
  }

  get name(): string {
    return this.M.name;
  }

  get paramFieldName(): string {
    return this.M.paramFieldName;
  }

  get paramTag(): string {
    return this.M.paramTag;
  }

  get paramTag2(): string {
    return this.M.paramTag2;
  }

  get stdDataType(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 {
    return this.M.stdDataType != null ? this.M.stdDataType : 0;
  }

  get userCat(): string {
    return this.M.userCat;
  }

  get userTag(): string {
    return this.M.userTag;
  }

  get userTag2(): string {
    return this.M.userTag2;
  }

  get userTag3(): string {
    return this.M.userTag3;
  }

  get userTag4(): string {
    return this.M.userTag4;
  }

  get activeContainerParam(): boolean {
    return this.M.activeContainerParam != null ? this.M.activeContainerParam : false;
  }

  get activeCtrlParam(): boolean {
    return this.M.activeCtrlParam != null ? this.M.activeCtrlParam : false;
  }

  get activeViewParam(): boolean {
    return this.M.activeViewParam != null ? this.M.activeViewParam : false;
  }

  get appGlobalParam(): boolean {
    return this.M.appGlobalParam != null ? this.M.appGlobalParam : false;
  }

  get applicationParam(): boolean {
    return this.M.applicationParam != null ? this.M.applicationParam : false;
  }

  get ctrlParam(): boolean {
    return this.M.ctrlParam != null ? this.M.ctrlParam : false;
  }

  get default(): boolean {
    return this.M.default != null ? this.M.default : false;
  }

  get entityListParam(): boolean {
    return this.M.entityListParam != null ? this.M.entityListParam : false;
  }

  get entityMapParam(): boolean {
    return this.M.entityMapParam != null ? this.M.entityMapParam : false;
  }

  get entityPageParam(): boolean {
    return this.M.entityPageParam != null ? this.M.entityPageParam : false;
  }

  get entityParam(): boolean {
    return this.M.entityParam != null ? this.M.entityParam : false;
  }

  get filterParam(): boolean {
    return this.M.filterParam != null ? this.M.filterParam : false;
  }

  get lastReturnParam(): boolean {
    return this.M.lastReturnParam != null ? this.M.lastReturnParam : false;
  }

  get navContextParam(): boolean {
    return this.M.navContextParam != null ? this.M.navContextParam : false;
  }

  get navViewParamParam(): boolean {
    return this.M.navViewParamParam != null ? this.M.navViewParamParam : false;
  }

  get routeViewSessionParam(): boolean {
    return this.M.routeViewSessionParam != null ? this.M.routeViewSessionParam : false;
  }

  get simpleListParam(): boolean {
    return this.M.simpleListParam != null ? this.M.simpleListParam : false;
  }

  get simpleParam(): boolean {
    return this.M.simpleParam != null ? this.M.simpleParam : false;
  }

  get viewNavDataParam(): boolean {
    return this.M.viewNavDataParam != null ? this.M.viewNavDataParam : false;
  }

  get viewSessionParam(): boolean {
    return this.M.viewSessionParam != null ? this.M.viewSessionParam : false;
  }

  get cls(): string {
    return 'PSDEUILogicParamImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'app.dataentity.IPSAppDEUILogicParam' || cls == 'dataentity.logic.IPSDEUILogicParam') return true;
    return super.instanceof(cls);
  }
}
